package com.amose.springcloudoauth2resourcesserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@SpringBootApplication
public class SpringCloudOauth2ResourcesServerApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(SpringCloudOauth2ResourcesServerApplication.class, args);
        }catch (Exception ex){
            ex.printStackTrace();
        }
    }

}
